package org.xmppbot.net;

/**
 * Comment here.
 * User: Bulat Nigmatullin
 * Date: 01.08.2009
 * Time: 14:21:03
 */
public enum ConnectionManager {
    INSTANCE;

    private ConnectionStrategy strategy = Accessor.getInstance().newNIOConnectionStrategy();

    public synchronized void start() throws Exception {
        strategy.start();
    }

    public synchronized void stop() throws Exception {
        strategy.stop();
    }

}
